home *** CD-ROM | disk | FTP | other *** search
Java Source | 1997-02-27 | 544 b | 18 lines | [TEXT/CWIE] |
- /* SK8 © 1997 Apple Computer, Inc.
- This code is protected under the current SK8 License
- See http://sk8.research.apple.com/ for more information
- Apple Research Laboratories
- */
-
-
- public class charactervisitstate extends textvisitstate {
-
- //constructor
- public charactervisitstate (charactercollection inTC, int inPosition) {
- // if ((inPosition < 1) || (inPosition > inTC.length()))
- // throw new collectionindexoutofbounds();
- mTC = inTC;
- mCurrentPosition = inPosition - 1;
- // the protocol starts at 1, java starts at 0
- }
- }